Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / Log Class / Trace Method / Trace(Exception,String,Object[]) Method
An Exception object to attach to this log message.
The string message to use, or a format string followed by corresponding args.
A variable number of arguments to insert into the formatted message string.

In This Topic
    Trace(Exception,String,Object[]) Method
    In This Topic
    Write a Verbose trace message directly to the Gibraltar log.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub Trace( _
       ByVal exception As Exception, _
       ByVal format As String, _
       ByVal ParamArray args() As Object _
    ) 
    public static void Trace( 
       Exception exception,
       string format,
       params object[] args
    )

    Parameters

    exception
    An Exception object to attach to this log message.
    format
    The string message to use, or a format string followed by corresponding args.
    args
    A variable number of arguments to insert into the formatted message string.
    Remarks

    Information about the current thread and calling method is automatically captured. The log message will be attributed to the immediate caller of this method. Wrapper implementations should instead use the Log.Write(...) overloads.

    This method also allows an Exception object to be attached to the log message. An Exception-typed null (e.g. from a variable of an Exception type) is allowed for the exception argument, but calls which do not have a possible Exception to attach should use an overload without an exception argument rather than pass a direct value of null, to avoid compiler ambiguity over the type of a simple null.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also